customize email for djoser activation

50

from djoser import email

class ActivationEmail(email.ActivationEmail):
    template_name = 'email/activation.html'
    

// settings.py
DJOSER = {
    'EMAIL': {
            'activation': 'core.email.ActivationEmail'
    }
}

Comments

Submit
0 Comments